home *** CD-ROM | disk | FTP | other *** search
- Sub MAIN
- FileNew
- If Not DocMaximize() Then DocMaximize
- repeat:
- On Error Goto 0
- On Error Goto Repeat
- DisableInput 1
- a$ = InputBox$("Enter Password ", " Password Locked ")
- If a$ = "password" Then
- Goto done
- Else
- Beep
- pw = pw + 1
- End If
- Goto repeat
- done:
- If pw > 0 Then
- MsgBox "Incorrect password entered" \
- + Str$(pw) + " times", "Password Unlocked"
- End If
- FileClose
- End Sub
-
-